package com.tb.mapper;

import com.tb.model.Illegality;
import com.tb.model.IllegalityExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IllegalityMapper {
    int countByExample(IllegalityExample example);

    int deleteByExample(IllegalityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Illegality record);

    int insertSelective(Illegality record);

    List<Illegality> selectByExample(IllegalityExample example);

    Illegality selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Illegality record, @Param("example") IllegalityExample example);

    int updateByExample(@Param("record") Illegality record, @Param("example") IllegalityExample example);

    int updateByPrimaryKeySelective(Illegality record);

    int updateByPrimaryKey(Illegality record);

}